import testView = require('../views/testView');
import paoClient = require('../pao/client/client')

/** 视图配置 */
export let defaultObject = new testView.testView();

let menuScan = new paoClient.menu();
menuScan.caption = "扫一扫";
menuScan.onClick = ()=>{
    paoClient.mainApplication.mainForm.navigate('./config/aboutViewConfig', '关于');
};

let menuHome = new paoClient.menu();
menuHome.caption = "首页";

defaultObject.menus = [
    menuScan,
    menuHome
];
defaultObject.caption = "测试";